var spawn = require('child_process').spawn
var ls = spawn('powershell', ['dir'])
ls.stdout.on('data', data => {
  console.log(data.toString())
})